<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <AllowUnsafeBlocks>true</AllowUnsafeBlocks>
    <TestRuntime>true</TestRuntime>
    <IncludeRemoteExecutor>true</IncludeRemoteExecutor>
    <TargetFramework>$(NetCoreAppCurrent)</TargetFramework>
    <!-- Encoding.UTF7 and UTF7Encoding are obsolete, but we're the unit test project for it, so suppress warnings -->
    <NoWarn>$(NoWarn),SYSLIB0001</NoWarn>
    <EnableUnsafeUTF7Encoding>true</EnableUnsafeUTF7Encoding>
  </PropertyGroup>
  <ItemGroup>
    <Compile Include="Ascii\CaseConversionTests.cs" />
    <Compile Include="Ascii\EqualsTests.cs" />
    <Compile Include="Ascii\FromUtf16Tests.cs" />
    <Compile Include="Ascii\IsValidByteTests.cs" />
    <Compile Include="Ascii\IsValidCharTests.cs" />
    <Compile Include="Ascii\ToUtf16Tests.cs" />
    <Compile Include="Ascii\TrimTests.cs" />
    <Compile Include="ASCIIEncoding\ASCIIEncodingEncode.cs" />
    <Compile Include="ASCIIEncoding\ASCIIEncodingDecode.cs" />
    <Compile Include="ASCIIEncoding\ASCIIEncodingGetDecoder.cs" />
    <Compile Include="ASCIIEncoding\ASCIIEncodingGetEncoder.cs" />
    <Compile Include="ASCIIEncoding\ASCIIEncodingGetMaxByteCount.cs" />
    <Compile Include="ASCIIEncoding\ASCIIEncodingGetMaxCharCount.cs" />
    <Compile Include="ASCIIEncoding\ASCIIEncodingTests.cs" />
    <Compile Include="CustomEncoderReplacementFallback.cs" />
    <Compile Include="Decoder\DecoderSpanTests.cs" />
    <Compile Include="Decoder\DecoderConvert2.cs" />
    <Compile Include="Decoder\DecoderCtor.cs" />
    <Compile Include="Decoder\DecoderGetCharCount2.cs" />
    <Compile Include="Decoder\DecoderGetCharCount3.cs" />
    <Compile Include="Decoder\DecoderGetChars2.cs" />
    <Compile Include="Decoder\DecoderGetChars3.cs" />
    <Compile Include="Decoder\DecoderReset.cs" />
    <Compile Include="DecoderFallback\DecoderFallbackTests.cs" />
    <Compile Include="DecoderFallbackException\DecoderFallbackExceptionTests.cs" />
    <Compile Include="EncoderFallbackException\EncoderFallbackExceptionTests.cs" />
    <Compile Include="Encoder\EncoderSpanTests.cs" />
    <Compile Include="Encoder\EncoderConvert2.cs" />
    <Compile Include="Encoder\EncoderCtor.cs" />
    <Compile Include="Encoder\EncoderGetByteCount2.cs" />
    <Compile Include="Encoder\EncoderGetBytes2.cs" />
    <Compile Include="Encoding\EncodingCtorTests.cs" />
    <Compile Include="Encoding\EncodingGetEncodingTests.cs" />
    <Compile Include="Encoding\EncodingConvertTests.cs" />
    <Compile Include="Encoding\EncodingVirtualTests.cs" />
    <Compile Include="Encoding\TranscodingStreamTests.cs" />
    <Compile Include="Fallback\DecoderReplacementFallbackTests.cs" />
    <Compile Include="Fallback\EncoderReplacementFallbackTests.cs" />
    <Compile Include="Fallback\EncoderExceptionFallbackTests.cs" />
    <Compile Include="Fallback\DecoderExceptionFallbackTests.cs" />
    <Compile Include="NegativeEncodingTests.cs" />
    <Compile Include="EncodingTestHelpers.cs" />
    <Compile Include="Latin1Encoding\Latin1EncodingEncode.cs" />
    <Compile Include="Latin1Encoding\Latin1EncodingDecode.cs" />
    <Compile Include="Latin1Encoding\Latin1EncodingGetMaxByteCount.cs" />
    <Compile Include="Latin1Encoding\Latin1EncodingGetMaxCharCount.cs" />
    <Compile Include="Latin1Encoding\Latin1EncodingTests.cs" />
    <Compile Include="UnicodeEncoding\UnicodeEncodingEncode.cs" />
    <Compile Include="UnicodeEncoding\UnicodeEncodingDecode.cs" />
    <Compile Include="UnicodeEncoding\UnicodeEncodingGetDecoder.cs" />
    <Compile Include="UnicodeEncoding\UnicodeEncodingGetEncoder.cs" />
    <Compile Include="UnicodeEncoding\UnicodeEncodingGetMaxByteCount.cs" />
    <Compile Include="UnicodeEncoding\UnicodeEncodingGetMaxCharCount.cs" />
    <Compile Include="UnicodeEncoding\UnicodeEncodingTests.cs" />
    <Compile Include="UTF32Encoding\UTF32EncodingDecode.cs" />
    <Compile Include="UTF32Encoding\UTF32EncodingGetMaxByteCount.cs" />
    <Compile Include="UTF32Encoding\UTF32EncodingGetMaxCharCount.cs" />
    <Compile Include="UTF32Encoding\UTF32EncodingTests.cs" />
    <Compile Include="UTF32Encoding\UTF32EncodingEncode.cs" />
    <Compile Include="UTF7Encoding\UTF7EncodingEncode.cs" />
    <Compile Include="UTF7Encoding\UTF7EncodingDecode.cs" />
    <Compile Include="UTF7Encoding\UTF7EncodingGetDecoder.cs" />
    <Compile Include="UTF7Encoding\UTF7EncodingGetEncoder.cs" />
    <Compile Include="UTF7Encoding\UTF7EncodingGetMaxByteCount.cs" />
    <Compile Include="UTF7Encoding\UTF7EncodingGetMaxCharCount.cs" />
    <Compile Include="UTF7Encoding\UTF7EncodingTests.cs" />
    <Compile Include="UTF8Encoding\UTF8EncodingEncode.cs" />
    <Compile Include="UTF8Encoding\UTF8EncodingDecode.cs" />
    <Compile Include="UTF8Encoding\UTF8EncodingGetDecoder.cs" />
    <Compile Include="UTF8Encoding\UTF8EncodingGetEncoder.cs" />
    <Compile Include="UTF8Encoding\UTF8EncodingGetMaxByteCount.cs" />
    <Compile Include="UTF8Encoding\UTF8EncodingGetMaxCharCount.cs" />
    <Compile Include="UTF8Encoding\UTF8EncodingTests.cs" />
    <Compile Include="$(CommonTestPath)System\RandomDataGenerator.cs" />
    <Compile Include="Encoding\Encoding.cs" />
    <Compile Include="UnicodeEncoding\UnicodeEncoding.cs" />
    <Compile Include="Decoder\Decoder.cs" />
    <Compile Include="Encoder\Encoder.cs" />
    <Compile Include="$(CommonTestPath)System\IO\ConnectedStreams.cs" Link="Common\System\IO\ConnectedStreams.cs" />
    <Compile Include="$(CommonPath)System\Net\ArrayBuffer.cs" Link="ProductionCode\Common\System\Net\ArrayBuffer.cs" />
    <Compile Include="$(CommonPath)System\Net\MultiArrayBuffer.cs" Link="ProductionCode\Common\System\Net\MultiArrayBuffer.cs" />
    <Compile Include="$(CommonPath)System\Net\StreamBuffer.cs" Link="ProductionCode\Common\System\Net\StreamBuffer.cs" />
  </ItemGroup>
  <ItemGroup>
    <PackageReference Include="Moq" Version="$(MoqVersion)" />
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="$(CommonTestPath)StreamConformanceTests\StreamConformanceTests.csproj" />
    <ProjectReference Include="$(LibrariesProjectRoot)System.IO.Pipelines\src\System.IO.Pipelines.csproj" />
  </ItemGroup>
</Project>
